package com.iwhalecloud.citybrain.flow.platform.manager.application.utils;

import com.github.pagehelper.PageInfo;

/**
 * @author: niechanggang
 * @date:2021/9/28 16:20
 * @description:
 */
public class PageUtils {

    public   static  void  copyProperties(PageInfo  source, PageInfo dest){
        dest.setPageNum(source.getPageNum());
        dest.setPageSize(source.getPageSize());
        dest.setPages(source.getPages());
        dest.setSize(source.getSize());
        dest.setTotal(source.getTotal());
        dest.setStartRow(source.getStartRow());
        dest.setEndRow(source.getEndRow());
    }
}
